<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>工作报告  <{$smarty.const.WEB_NAME}></title>
	<link rel="stylesheet" type="text/css" href="./skin/<{$smarty.const.TPL_NAME}>/style.css" />
	<script type="text/javascript" src="./skin/<{$smarty.const.TPL_NAME}>/comm.js"></script> 
 </head>
 <body>
	 <table cellspacing="0" width="1000" cellpadding="0" align="center">
	 <tr><td colspan="2">
        <{include file="#header.html"}>
	 </td></tr>
	 <tr><td valign="top" width="100"  >
	   <div class="leftUserList" id="leftUserList">
	     <span class="tit">工作报告</span>
		 <ol>
		 <{if $smarty.session.type != 2}>
			   <{section name=loop loop=$departmentList}>
				  <{if $departmentList[loop].id == $smarty.session.departmentId}>
					 <li> <div onclick="treeMenu(this)" title="收起/展开"><{$departmentList[loop].name}></div>
						<dl class="none">
							<{section name=list loop=$userList}>
							<{if $userList[list].departmentId == $departmentList[loop].id && $userList[list].type < 2 }>
							   <{if $smarty.session.purview == 1 || $smarty.session.type > 0}>
								<dt><a href="index.php?q=wordSummaryList&userId=<{$userList[list].id}>" target="con"><{$userList[list].name}></a></dt>
							  <{else}>
								<dt><{$userList[list].name}></dt>
							  <{/if}>
							 <{/if}>
							<{/section}>
						</dl>
					 </li>
				 <{/if}>
			   <{/section}>
	    <{else}>
			    <{section name=loop loop=$departmentList}>
					 <li> 
					    <div onclick="treeMenu(this)" title="收起/展开"><{$departmentList[loop].name}></div>
						<dl class="none">
							<{section name=list loop=$userList}>
								<{if $userList[list].departmentId == $departmentList[loop].id && $userList[list].type != 2}>
									<dt><a href="index.php?q=wordSummaryList&userId=<{$userList[list].id}>" target="con"><{$userList[list].name}></a></dt>
								 <{/if}>
							<{/section}>
						</dl>
					 </li>
			   <{/section}>
		<{/if}>
		</ol>
	 </div>
	 </td>
	 <td valign="top" align="left">
       <div style="width:888px; overflow:hidden;">
	      <iframe src="index.php?q=wordSummaryList" name="con" id="con" height="3000" width="900" frameborder="0" scrolling="no" scrolling="no" onload="loadHeight(this)"></iframe>
	   </div>
	 </td>
	 </tr>
	</table>
	 
<script type="text/javascript">
<!--
	function loadHeight(obj){
	 var s;
	 if(document.all){
	   s =  con.document.body.offsetHeight;
	   obj.style.height =s + 200; 
	 }else{
	   s = window.frames['con'].document.documentElement.clientHeight;
	   obj.setAttribute("height" ,s +1000);
	 }
	 $('leftUserList').style.height = s > 200 ? 200 : s;
	}
//-->
</script>
 </body>
</html>
